package com.food.admin.service;

import com.food.admin.entity.ProductsType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.food.admin.form.ProductsTypeAddForm;
import com.food.admin.form.ProductsTypeSearchForm;
import com.food.admin.form.ProductsTypeUpdateForm;
import com.food.admin.form.ProductsTypeUpdateStateForm;
import com.food.admin.util.MyPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月13日
 */
public interface ProductsTypeService extends IService<ProductsType> {

    void addProductsType(ProductsTypeAddForm productsTypeAddForm);

    List<ProductsType> searchAllProductsType();

    void updateProductsTypeName(ProductsTypeUpdateForm productsTypeUpdateForm);

    void updateProductsTypeState(ProductsTypeUpdateStateForm productsTypeUpdateStateForm);

    MyPage<ProductsType> searchProductsType(ProductsTypeSearchForm productsTypeSearchForm);
}
